1
general::
Get oneself into a difficulty from which one can't extricate oneself. For example, By volunteeering to do more work in the office and then taking a freelance job, George has painted himself into a corner. This idiom uses the graphic image of painting all of the floor except for the corner one stands in, so that one cannot leave without stepping on wet paint.
American Heritage Idioms